Just below the menu bar on the Macintosh screen, DynRisk has a toolbar with various buttons and popup menus. The toolbar offers a fast and convenient way to do operations.

You will notice that there are in fact many different toolbars. In particular, there are specialized toolbars for working with model files, data files and help files. For model files the toolbar also changes according to which view you use.

The simplest toolbar, however, is the “No document toolbar”. This is the one you see when no documents are open. It contains only two buttons:

New

Creates a new empty document. The new document will by default be named “Untitled-X”, where “X” is a running number depending on the number of previously opened windows.

Open...

Opens an existing document. A standard Macintosh “Open file” dialog box appears where you can choose the DynRisk document you want to open. The number of documents you can open simultaneously is limited only by the amount of memory you have allocated to DynRisk.

When you open a document while another document is on the screen, the last one becomes the active document.

The “Open…” command allows you to open four different file types:

• DynRisk model files

• DynRisk simulation data files (binary format)

• DynRisk simulation data files (ASCII format)

• Text files containing tables of numerical data

A file in the last category will be interpreted as if it was a simulation data file stored in ASCII format.  However, the data stored in such a file may just as well be e.g., historical data. 

To be readable by DynRisk, the file must satisfy the following conditions:

1) The data must be organized as a “rectangular” table. That is, each row in the file must contain the same number of items.

2) Each item in a row must be separated by a single “tab” character. The rows in the table must be separated by a single “return” character.

3) Each column in the table will be interpreted as data associated with a “data node” object.

4) The items in the first row of the table will be interpreted as the names of the “data node” objects.

5) The items below the first row of the table will be interpreted as result values.

The first time you open a text file, DynRisk will ask you to enter the number of variables (i.e., the number of columns in the table) and the number of simulations  (i.e., the number of rows in the table below the first row).